package org.dromara.system.domain.bo;


import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;


import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * English Solution Document Business Object sys_solution_doc_en (PDF Folder Solution)
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysSolutionDocEnBo extends BaseEntity {

    /**
     * Document ID
     */
    @NotNull(message = "Document ID cannot be empty", groups = { EditGroup.class })
    private Long docId;

    /**
     * Solution Name
     */
    @NotBlank(message = "Solution name cannot be empty", groups = { AddGroup.class, EditGroup.class })
    private String docName;

    /**
     * Main File URL (Direct link to main PDF)
     */
    private String docUrl;

    /**
     * Main File Name (-main.pdf)
     */
    private String mainFileName;


    /**
     * Folder Path
     */
    private String folderPath;

    /**
     * Total File Count
     */
    private Integer totalFiles;

    /**
     * Remark
     */
    private String remark;
}

